package com.cq.teacher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 老师排班对象 teacher_scheduling
 * 
 * @author cq
 * @date 2024-01-06
 */
public class TeacherScheduling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 考勤组 */
    @Excel(name = "考勤组")
    private String attendanceGroup;

    /** 班次选择 */
    @Excel(name = "班次选择")
    private String classes;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAttendanceGroup(String attendanceGroup) 
    {
        this.attendanceGroup = attendanceGroup;
    }

    public String getAttendanceGroup() 
    {
        return attendanceGroup;
    }
    public void setClasses(String classes) 
    {
        this.classes = classes;
    }

    public String getClasses() 
    {
        return classes;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attendanceGroup", getAttendanceGroup())
            .append("classes", getClasses())
            .append("time", getTime())
            .toString();
    }
}
